package com.braveman.im.ui.holder;

import android.content.Context;
import android.widget.ImageView;
import android.widget.TextView;

import com.braveman.im.R;
import com.braveman.im.bean.ComplainBean;
import com.braveman.im.bean.GroupListBean;
import com.ht.baselibs.ui.base.BaseViewHolder;

/**
 * Created by 昊昊 on 2017/10/12.
 */

public class MineGroupViewHolder extends BaseViewHolder<GroupListBean> {
    private ImageView mAvatar;
    private TextView mName;
    private Context context;


    public MineGroupViewHolder(Context context) {
        super(R.layout.em_row_group);
        this.context = context;
    }

    @Override
    protected void initView() {
        mAvatar = findViewById(R.id.avatar);
        mName = findViewById(R.id.name);
    }

    @Override
    protected void refreshView(GroupListBean complainBean) {
        mName.setText(complainBean.groupName);

    }
}
